/*
 * Test1.h
 *
 *  Created on: Oct 10, 2013
 *      Author: Administrator
 */

#ifndef TEST1_H_
#define TEST1_H_
#include<iostream>
using namespace std;

class Test1 {
	int a;
public:
	Test1();
	virtual ~Test1();
public:
	Test1(int a):a(a){}
	Test1(Test1& t1):a(t1.a){
		cout << "copy constructor" <<endl;
	}
	Test1& operator ++(){
		a++;
		return *this;
	}
};

#endif /* TEST1_H_ */
